import Vue from 'vue'
Vue.filter('area_p',function(val,className){
  if(val && val.length){
    var html = '';
    var arr = val.split('\n');
    arr.forEach(i => {
      i && i.length ? html += ('<p class=' + (className || 'MsoNormal') + ' style="margin-bottom:6.0pt;">' + i + '</p>') : '';
    })
    return html
  }else{
    return null
  }
})
